/************************************************************************
 * @file StandardAboutDialog.h
 * @author Ian Chen
 * @version 1.0
 *
 * @section LICENSE
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 3 of
 * the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
 * General Public License for more details at
 * http://www.gnu.org/licenses/lgpl.html
 *
 ************************************************************************/
#ifndef STANDARDABOUTDIALOG_H
#define STANDARDABOUTDIALOG_H

#include <QDialog>
#include <QLabel>
#include <QGraphicsItem>
#include <QGraphicsView>
#include <QImage>
#include <QPixmap>

#include <pluginui/pluginui_global.h>

namespace antu
{
namespace plugin
{
namespace ui
{
class PLUGINUISHARED_EXPORT StandardAboutDialog : public QDialog
{
    Q_OBJECT
public:
    StandardAboutDialog(const QString& title,
                        const QString& productName,
                        const QString& = "1.0.0.0",
                        const QString& serialNumber = "0000 0000 0000 0000 0000",
                        const QPixmap& image = QPixmap(),
            QWidget *parent = 0);

private:
    QLabel* m_pImageLabel;

    QLabel* m_pVersionLabel;
    QLabel* m_pProductNameLabel;
    QLabel* m_pSerialNumberLabel;

    QGraphicsItem* m_pImageItem;
};
}
}
}

#endif // STANDARDABOUTDIALOG_H
